The analyses used the following software and libraries:

R version 3.3.0

spikes_1.0  
BenfordTests_1.2.0
VGAM_1.0-2               
MASS_7.3-45

To replicate the results, you need to install spikes package either from the source file spikes_1.0.tar.gz or from CRAN.

“spikes_1.0.tar.gz” R package associated with the paper

"functions.R": auxiliarry functions (must be sourced before proceeding).

"fulldata.Rdata": data list with real and simulated elections (11 datasets) used in this paper.

"results.Rdata": list containing estimated results, which can be post-processed to replicate tables and figures in the paper.

"replicate.R": the main replication code indexed by each table and figure in the paper and the Supplementary Appendix.
